home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _F5D3513A9380440EB34D7DFE9A32D6CB < prev    next >
Encoding:
Text File  |  2002-04-21  |  1.9 KB  |  34 lines

  1. // sound channels
  2. // channel 0 never willingly overrides
  3. // other channels will allways override a playing sound on that channel
  4. typedef enum  //# soundChannel_e
  5. {
  6.     CHAN_AUTO,            //## %s !!"S:\base\!!sound\*.wav;*.mp3" # Play a general wav file
  7.     CHAN_LOCAL,            //## %s !!"S:\base\!!sound\*.wav;*.mp3" # menu sounds etc that play without origin
  8.     CHAN_WEAPON,        //# ingame weapons only, do not use in scripts!
  9.     CHAN_VOICE,            //## %s !!"S:\base\!!sound\*.wav;*.mp3" # for speech, does lipsynch, and allows wait-on-completed
  10.     CHAN_VOICE_NOATTENUATE, //## %s !!"S:\base\!!sound\*.wav;*.mp3" # for speech, does lipsynch, and allows wait-on-completed, attenuates only slightly
  11.     CHAN_ITEM,            //# ingame NPC weapons only, do not use in scripts!
  12.     CHAN_BODY,            //# ingame NPC weapons only, do not use in scripts!
  13.     CHAN_BODY2,            //# ingame NPC weapons only, do not use in scripts!
  14.     CHAN_AMBIENT,        //# ingame NPC weapons only, do not use in scripts!
  15.     CHAN_LOCAL_SOUND,    //## %s !!"S:\base\!!sound\*.wav;*.mp3" # chat messages, etc
  16.     CHAN_ANNOUNCER,        //## %s !!"S:\base\!!sound\*.wav;*.mp3" # Announcer voices etc, guaranteed to be heard by player
  17.     CHAN_LONGDISTANCE,    //## %s !!"S:\base\!!sound\*.wav;*.mp3" # Long distance special noises only!!, DO NOT USE WITHOUT PERMISSION!
  18.     CHAN_NPCWEAPON,        //# ingame NPC weapons only, do not use in scripts!
  19.  
  20.     //
  21.     // 4/2/02 kef -- making a distinction here just in case all of the above entries need to be in a certain order for the
  22.     //                sake of being mystically synchronized with Icarus. If you're going to add stuff that doesn't go through
  23.     //                Icarus, do it below this comment.
  24.     //
  25.     CHAN_WPN_AUX        // any sounds generated by player's weapons that AREN'T firing sounds
  26. } soundChannel_t;
  27.  
  28.  
  29. // some stuff I need for accessing channels via flags for target-speaker    -Ste.
  30.  
  31. #define SPKR_CHAN_LONGDISTANCE    0x00000001    
  32. #define SPKR_CHAN_GLOBAL        0x00000002    // acts as a flag to use CHAN_ANNOUNCER, effectively global (use with care!!!!!)
  33.  
  34.